import request from '../utils/request.js'
import apiConfig from '../config/api.js'

// 获取轮播图列表
export const carouselApi = {
  getCarousels: (params = {}) => request({
    url: apiConfig.apiList.getCarousels,
    method: 'GET',
    params: params,
  })
}

export default carouselApi